  <?php 
require_once("nav.php");

 ?>
       <div class="col-sm-9 col-md-10">
       <!doctype html>
<html>
 <head <meta charset="UTF-8">  
  <title>修改小说类型</title>
 </head>
 <body>
<h1>请慎重操作</h1>
<?php
   
   $typename = $result['typename'];
   $tid = $result['tid'];
  
 ?>

<form method="post"  action="admin.php?c=type&m=typeupdate&id=<?php  echo $tid;  ?>"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<h2><center>修改小说类型</center></h2>
<tr>
  <td width="20%">nid</td>
  <td width="80%"><?php  echo $tid;  ?>
  <input type="hidden" name="tid" value=<?php  echo $tid;  ?>>  
  
<
<tr>
    <td><label for="typename">小说类型</label></td>
    <td>
      <input type="typename" id="typename" name="typename" value=<?php echo $typename;?>>
    </td>
</tr>
<tr>
  <td width=150></td>
  <td>
  <input type="submit" value="修改">
  <input type="reset" value="重置">
  </td>
</tr>
</table>
</form>
 </body>

</html>
</div>

<?php 
require_once('footer.php');
 ?>